package com.yunxin.core.application.assembler;

import com.yunxin.core.application.dto.areas.AreasDTO;
import com.yunxin.core.infra.persistence.entity.areas.AreasDO;
import org.mapstruct.Mapper;

/**
 * @author zero°
 * @since 2023-07-12
 */
@Mapper(componentModel = "spring")
public interface AreasAssembler {

    /**
     * do 转 dto
     * @param areasDO areas
     * @return AreasResult
     */
    AreasDTO toAreasResult(AreasDO areasDO);
}
